export default {
  data() {
    return {
      /* u-cell 标题样式 */
      titleStyle: {
        fontSize: "28rpx",
        fontFamily: "PingFang SC",
        fontWeight: 500,
        color: "#666666",
      },
      /* u-cell 右侧箭头图标的样式 */
      rightIconStyle: {
        fontSize: "26rpx",
        color: "#BBBBBB",
        top: "4rpx",
      },
      /* u-tabs 菜单非选中时的样式 */
      inactiveStyle: {
        fontSize: "30rpx",
        fontFamily: "PingFang SC",
        fontWeight: 500,
        color: "#7F7F7F",
      },
      /* u-tabs 菜单选中时的样式 */
      activeStyle: {
        fontSize: "30rpx",
        fontFamily: "PingFang SC",
        fontWeight: "bold",
        color: "#000000",
      },
      /* 记录点击的是哪个picker */
      cellType: "",
      /* picker 对应每项的text */
      keyName: "",
      /* picker 展示 */
      pickerShow: false,
      /* picker 内容 */
      columns: [
        /* 数组套数组 */
        [],
      ],
      /* datetime-picker 展示 */
      datetimeShow: false,
      /* datetime-picker 绑定值 */
      timeValue: Number(new Date()),
      /* datetime-picker 可选的最小时间（时间戳毫秒） */
      minDate: null,
      /* datetime-picker 可选的最大时间（时间戳毫秒） */
      maxDate: new Date(2099, 12, 1).getTime(),
    };
  },
  methods: {
    /* 选择器 关闭 */
    pickerClose(e) {
      this.pickerShow = false;
    },
    /* 选择器 取消 */
    pickerCancel(e) {
      this.pickerShow = false;
    },
  },
};
